package com.crm.common.ka.core.common;

public enum SourceEnum {

    /**
     * 客户来源枚举
     */
    BD_GREEN_BALL_CLUB("【BD渠道投放】-青团社",1,"电商美工",1),
    BD_PART_TIME_CAT("【BD渠道投放】-兼职猫",1,"电商美工",1),
    BD_GUEST_PART_TIME("【BD渠道投放】-兼客兼职",1,"电商美工",1),
    NEW_ZHIHU("【新媒体】-知乎",1,"电商美工",2),
    NEW_SOFT_WEN("【新媒体】-软文",1,"电商美工",2),
    NEW_FUTURE("【新媒体】-未来",1,"电商美工",2),
    NEW_ALIPAY("【新媒体】-支付宝",1,"电商美工",2),
    VIDEO_TRILL("【短视频】-抖音",1,"电商美工",3),
    VIDEO_WELL_QUICKLY("【短视频】-快手",1,"电商美工",3),
    VIDEO_MAGNETIC_TAURUS("【短视频】-磁力金牛",1,"电商美工",3),
    VIDEO_SICHUAN("【短视频】-千川",1,"电商美工",3),
    INFO_WANGYI("【信息流】-网易云",1,"电商美工",4),
    INFO_READ_BOOK("【信息流】-小红书",1,"电商美工",4),
    INFO_WELL_QUICKLY("【信息流】-快手",1,"电商美工",4),
    INFO_TRILL("【信息流】-抖音",1,"电商美工",4),
    INFO_FEED("【信息流】-feed",1,"电商美工",4),
    INFO_B("【信息流】-B站",1,"电商美工",4),
    QUADRATIC_FIELD("二次量字段",1,"电商美工",5),
    IND_DRIVE("自主开拓",1,"电商美工",5),
    SH_BD_GREEN_BALL_CLUB("【商插-BD渠道】-青团社",2,"手绘插画",6),
    SH_BD_PART_TIME_CAT("【商插-BD渠道】-兼职猫",2,"手绘插画",6),
    SH_BD_GUEST_PART_TIME("【商插-BD渠道】-兼客兼职",2,"手绘插画",6),
    SH_BD_POCKETS_PART_TIME("【商插-BD渠道】-口袋兼职",2,"手绘插画",6),
    SH_BD_ALIPAY("【商插-BD渠道】-支付宝",2,"手绘插画",6),
    SH_BD_SOFT_WEN("【商插-新媒体】-软文",2,"手绘插画",7),
    SH_BD_ZHIHU("【商插-新媒体】-知乎",2,"手绘插画",7),
    TE_LATE_BJ_PART_TIME_A("【影视后期-BJ】-兼职A",3,"影视后期",8),
    TE_LATE_BJ_PART_TIME_B("【影视后期-BJ】-兼职B",3,"影视后期",8),
    TE_LATE_BJ_PART_TIME_C("【影视后期-BJ】-兼职C",3,"影视后期",8),
    TE_LATE_BJ_PART_TIME_D("【影视后期-BJ】-兼职D",3,"影视后期",8),
    TE_LATE_BJ_PART_TIME_BAIDU("【影视后期-BJ】-百度服务中心",3,"影视后期",8),
    TE_LATE_BJ_PART_TIME_TRILL("【影视后期-BJ】-抖音服务中心",3,"影视后期",8),
    TE_LATE_BJ_PART_TIME("【影视后期-BJ】-兼职",3,"影视后期",8),
    ;




    SourceEnum(String name, Integer categories, String remarks, Integer group){
        this.name = name;
        this.categories = categories;
        this.remarks = remarks;
        this.group = group;
    }

    private final String name;
    private final Integer categories;
    private final String remarks;
    private final Integer group;

    public static String parse(String name){
        for(SourceEnum value : SourceEnum.values()){
            if(value.name.equals(name)){
                return value.remarks;
            }
        }
        return null;
    }


    public String getName(){
        return name;
    }
    public Integer getCategories(){ return categories;}
    public String getRemarks(){
        return remarks;
    }
    public Integer getGroup(){ return group;}
}
